﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IntoTheVoid.State
{
	// 显示错误提示
	public class TipsEventArgs : EventArgs
	{
		public string Content { get; }
		public Action ConfirmAction { get; set; }
		public Action CancelAction { get; set; }

		public TipsEventArgs(string content, Action confirmAction = null, Action cancelAction = null)
		{
			this.Content = content;
			ConfirmAction = confirmAction;
			CancelAction = cancelAction;
		}
	}
}
